import Vue from 'vue'
import VueAMap from 'vue-amap';
import App from './App.vue'
import ElementUI from 'element-ui';
import VueClipboard from 'vue-clipboard2'
import 'element-ui/lib/theme-chalk/index.css';
import directer from "@/utils/directer";
import EasyRefresh from 'vue-easyrefresh'
import SlideVerify from 'vue-monoplasty-slide-verify';

import router from './router'
import './assets/comm.css'
import './assets/page.css'
import './assets/pager.css'
Vue.config.productionTip = false


Vue.use(SlideVerify);
Vue.use(ElementUI);
Vue.use(VueClipboard);
Vue.use(EasyRefresh)
Vue.use(VueAMap);
Vue.use(directer);

VueAMap.initAMapApiLoader({
  key: '07833a1b75bfa40fd90d3b7b2028ab5a',
  plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor'],
  v: '1.4.15',
  uiVersion: '1.0.11' // ui版本号，也是需要写
});

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
